package com.fengyi.homefurnish.pojo;

import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;
import java.util.Date;

/**
 * Created by Administrator on 2018/3/14.
 * 库存进销记录
 */
public class StockRecord {

    private Integer stockRecordId;  //进销id
    private Integer goodsBasicInfoId;   //商品id
    private Integer goodsRecordType;    //出入库类型，0,、入库，1、出库
    private Integer goodsRecordCount;   //商品进出数量

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime goodsRecordTime;  //出入库时间

    private Integer magId;              //管理员编号

    private GoodsBasicInfo goodsBasicInfo;

    public GoodsBasicInfo getGoodsBasicInfo() {
        return goodsBasicInfo;
    }

    public void setGoodsBasicInfo(GoodsBasicInfo goodsBasicInfo) {
        this.goodsBasicInfo = goodsBasicInfo;
    }

    public Integer getStockRecordId() {
        return stockRecordId;
    }

    public void setStockRecordId(Integer stockRecordId) {
        this.stockRecordId = stockRecordId;
    }

    public Integer getGoodsBasicInfoId() {
        return goodsBasicInfoId;
    }

    public void setGoodsBasicInfoId(Integer goodsBasicInfoId) {
        this.goodsBasicInfoId = goodsBasicInfoId;
    }

    public Integer getGoodsRecordType() {
        return goodsRecordType;
    }

    public void setGoodsRecordType(Integer goodsRecordType) {
        this.goodsRecordType = goodsRecordType;
    }

    public Integer getGoodsRecordCount() {
        return goodsRecordCount;
    }

    public void setGoodsRecordCount(Integer goodsRecordCount) {
        this.goodsRecordCount = goodsRecordCount;
    }

    public LocalDateTime getGoodsRecordTime() {
        return goodsRecordTime;
    }

    public void setGoodsRecordTime(LocalDateTime goodsRecordTime) {
        this.goodsRecordTime = goodsRecordTime;
    }

    public Integer getMagId() {
        return magId;
    }

    public void setMagId(Integer magId) {
        this.magId = magId;
    }
}
